<div class="grid_9">

<?php if($this->session->flashdata('type')): ?>
	<div class="<?php echo $this->session->flashdata('type')?>"><?php echo $this->session->flashdata('msg')?></div>
<?php endif; ?>

<div class="inner-border">
<h6>Add User Level</h6>
	<?php 
		$formAttrib = array('id' => 'adduser', 'class' => 'admin-form');
		$courseNameAttrib = array('name' => 'course_name', 'value' => set_value("course_name"), 'id' => 'course_name');
		$courseDescAttrib = array('name' => 'course_desc', 'value' => set_value("course_desc"), 'id' => 'course_desc');
		$courseCodeAttrib = array('name' => 'course_code', 'value' => set_value("course_code"), 'id' => 'course_code');
		$courseFvalAttrib = array('name' => 'course_unit_value', 'value' => set_value("course_unit_value"), 'id' => 'course_code');
		echo form_open('post/add_course', $formAttrib);
		
	?>
    
    <div class="input-block">
    <?php
		echo form_label('Course Name :', 'Course');
		echo form_input($courseNameAttrib);		
	?>
    </div>
	
	<div class="input-block">
    <?php
		echo form_label('Course Code :', 'Course status');
		echo form_input($courseCodeAttrib);	
	?>
    </div>
	<div class="input-block">
    <?php
		echo form_label('Course value :', 'Course status');
		echo form_input($courseFvalAttrib);	
	?>
    </div>
	<div class="input-block">
    <?php
		echo form_label('Course Description :', 'Course status');
		echo form_textarea($courseDescAttrib);	
	?>
    </div>

	
   
    <div class="input-block" style="clear:both;">
   		<?php echo form_submit('add', 'Add'); ?>
		<a href="<?php echo site_url('admin/course') ?>" class="btn">Back</a>	
    </div>

</div>
</div>